package com.lhoverc.pojo.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: LiCheng
 * @CreateTime: 2025-04-20
 * @Description:
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ApplyDataVO {
    //申请id
    private Integer id;
    //访客姓名
    private String visitorName;
    //访客电话
    private String visitorPhone;
    //目的地
    private String destination;
    //照片
    private String visitorImage;
    //邀请码
    private String invitationCode;

    //到访时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime arriveTime;
    //离开时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime leaveTime;

    //事由
    private String toDo;
    //状态
    private Integer state;
}
